package com.scanLab;

import android.util.Log;

public class Scan {
    public static  final String TAG = Scan.class.getSimpleName();

    static {
        try{
            System.loadLibrary("dokicamDimension");
        }catch(Exception e){
            Log.e(TAG,"Error loading native library " + "\"libdokicamDimension.so\"" + ":", e);
        }catch (Error e){
            Log.e(TAG,"Error loading native library " + "\"libdokicamDimension.so\"" + ":", e);
        }
    }

    public native ScanResult scanImage(byte[] image,int width,int height);

}
